package number;

public class Number {
 public static void main(String[] args){
	 int i,j,k;
	 for(i=1;i<=4;i++){
		 for(j=1;j<=i;j++){
			 k=(i*(i-1))/2+j;
			 System.out.print(k+" ");
		 }
		 System.out.println();
	 }
 }
}
